<script>
var elem = document.documentElement;
elem = elem.appendChild(document.createElement('html'));
elem = elem.appendChild(document.createElement('head'));
elem = elem.appendChild(document.createElement('meta'));
elem.setAttribute('http-equiv', 'Content-Type');
elem.setAttribute('content', 'text/html; charset=UTF-8');
elem = elem.appendChild(document.createElement('title'));
elem = elem.parentNode;
elem.appendChild(document.createTextNode('How to use neon from your application'));
elem = elem.appendChild(document.createElement('link'));
elem.setAttribute('rel', 'stylesheet');
elem.setAttribute('href', '../manual.css');
elem.setAttribute('type', 'text/css');
elem = elem.appendChild(document.createElement('meta'));
elem.setAttribute('name', 'generator');
elem.setAttribute('content', 'DocBook XSL Stylesheets V1.75.2');
elem = elem.appendChild(document.createElement('link'));
elem.setAttribute('rel', 'home');
elem.setAttribute('href', 'index.html');
elem.setAttribute('title', 'neon HTTP/WebDAV client library');
elem = elem.appendChild(document.createElement('link'));
elem.setAttribute('rel', 'up');
elem.setAttribute('href', 'intro.html');
elem.setAttribute('title', 'Chapter 1. Introduction');
elem = elem.appendChild(document.createElement('link'));
elem.setAttribute('rel', 'prev');
elem.setAttribute('href', 'features.html');
elem.setAttribute('title', 'Feature list');
elem = elem.appendChild(document.createElement('link'));
elem.setAttribute('rel', 'next');
elem.setAttribute('href', 'compliance.html');
elem.setAttribute('title', 'Standards compliance');
elem = elem.parentNode;
elem = elem.appendChild(document.createElement('body'));
elem.setAttribute('bgcolor', 'white');
elem.setAttribute('text', 'black');
elem.setAttribute('link', '#0000FF');
elem.setAttribute('vlink', '#840084');
elem.setAttribute('alink', '#0000FF');
elem = elem.appendChild(document.createElement('div'));
elem.setAttribute('class', 'navheader');
elem = elem.appendChild(document.createElement('table'));
elem.setAttribute('width', '100%');
elem.setAttribute('summary', 'Navigation header');
elem = elem.appendChild(document.createElement('tr'));
elem = elem.appendChild(document.createElement('th'));
elem.setAttribute('colspan', '3');
elem.setAttribute('align', 'center');
elem = elem.parentNode;
elem.appendChild(document.createTextNode('How to use neon from your application'));
elem = elem.parentNode;
elem = elem.appendChild(document.createElement('tr'));
elem = elem.appendChild(document.createElement('td'));
elem.setAttribute('width', '20%');
elem.setAttribute('align', 'left');
elem = elem.appendChild(document.createElement('a'));
elem.setAttribute('accesskey', 'p');
elem.setAttribute('href', 'features.html');
elem = elem.parentNode;
elem.appendChild(document.createTextNode('Prev'));
elem = elem.parentNode;
elem.appendChild(document.createTextNode(' '));
elem = elem.appendChild(document.createElement('th'));
elem.setAttribute('width', '60%');
elem.setAttribute('align', 'center');
elem = elem.parentNode;
elem.appendChild(document.createTextNode('Chapter 1. Introduction'));
elem = elem.appendChild(document.createElement('td'));
elem.setAttribute('width', '20%');
elem.setAttribute('align', 'right');
elem.appendChild(document.createTextNode(' '));
elem = elem.appendChild(document.createElement('a'));
elem.setAttribute('accesskey', 'n');
elem.setAttribute('href', 'compliance.html');
elem = elem.parentNode;
elem.appendChild(document.createTextNode('Next'));
elem = elem.parentNode;
elem = elem.parentNode;
elem = elem.parentNode;
elem = elem.appendChild(document.createElement('hr'));
elem = elem.parentNode;
elem = elem.appendChild(document.createElement('div'));
elem.setAttribute('class', 'sect1');
elem.setAttribute('title', 'How to use neon from your application');
elem = elem.appendChild(document.createElement('div'));
elem.setAttribute('class', 'titlepage');
elem = elem.appendChild(document.createElement('div'));
elem = elem.appendChild(document.createElement('div'));
elem = elem.appendChild(document.createElement('h2'));
elem.setAttribute('class', 'title');
elem.setAttribute('style', 'clear: both');
elem = elem.appendChild(document.createElement('a'));
elem.setAttribute('name', 'using');
elem = elem.parentNode;
elem = elem.parentNode;
elem.appendChild(document.createTextNode('How to use neon from your application'));
elem = elem.parentNode;
elem = elem.parentNode;
elem = elem.parentNode;
elem = elem.appendChild(document.createElement('p'));
elem.appendChild(document.createTextNode('This section describes how to add neon support to an application. If you just want to quickly try out neon, use the '));
elem = elem.appendChild(document.createElement('a'));
elem.setAttribute('class', 'xref');
elem.setAttribute('href', 'refconfig.html');
elem.setAttribute('title', 'neon-config');
elem = elem.appendChild(document.createElement('span'));
elem.setAttribute('class', 'refentrytitle');
elem = elem.parentNode;
elem.appendChild(document.createTextNode('neon-config'));
elem = elem.parentNode;
elem = elem.parentNode;
elem.appendChild(document.createTextNode(' script.'));
elem = elem.appendChild(document.createElement('p'));
elem.appendChild(document.createTextNode('The neon source code is designed to be easily embedded into an application source tree. neon has no dependencies on libraries other than an SSL toolkit and XML parser, though the source tree can be configured to have no support for SSL or XML if desired. To configure the neon source code some '));
elem = elem.appendChild(document.createElement('a'));
elem.setAttribute('class', 'ulink');
elem.setAttribute('href', 'http://www.gnu.org/software/autoconf/');
elem.setAttribute('target', '_top');
elem = elem.parentNode;
elem.appendChild(document.createTextNode('GNU autoconf'));
elem = elem.parentNode;
elem.appendChild(document.createTextNode(' macros are supplied, which can be used in a number of ways, as follows:'));
elem = elem.appendChild(document.createElement('div'));
elem.setAttribute('class', 'itemizedlist');
elem = elem.appendChild(document.createElement('ul'));
elem.setAttribute('class', 'itemizedlist');
elem.setAttribute('type', 'disc');
elem = elem.appendChild(document.createElement('li'));
elem.setAttribute('class', 'listitem');
elem = elem.appendChild(document.createElement('p'));
elem = elem.parentNode;
elem.appendChild(document.createTextNode('autoconf macros are distributed in the \'macros\' subdirectory of the neon distribution. Use the NEON_LIBRARY macro from your configure.in to check for the presence of the neon library installed on the system. The macro adds an \'--with-neon=...\' argument to configure, which allows the user to specify a location for the library (the standard /usr and /usr/local directories are checked automatically without having to be specified).'));
elem = elem.parentNode;
elem = elem.appendChild(document.createElement('li'));
elem.setAttribute('class', 'listitem');
elem = elem.appendChild(document.createElement('p'));
elem = elem.parentNode;
elem.appendChild(document.createTextNode('The \'src\' directory of the neon package can be imported directly into your application, if you do not wish to add an external dependency. If you wish to bundle, use the NEON_BUNDLED macro to configure neon in your application: here, the neon sources are bundled in a directory called \'libneon\':'));
elem = elem.appendChild(document.createElement('pre'));
elem.setAttribute('class', 'programlisting');
elem = elem.parentNode;
elem.appendChild(document.createTextNode('NEON_BUNDLED(libneon, ...)'));
elem = elem.appendChild(document.createElement('p'));
elem = elem.parentNode;
elem.appendChild(document.createTextNode('If your application supports builds where srcdir != builddir, you should use the NEON_VPATH_BUNDLED macro like this:'));
elem = elem.appendChild(document.createElement('pre'));
elem.setAttribute('class', 'programlisting');
elem = elem.parentNode;
elem.appendChild(document.createTextNode('NEON_VPATH_BUNDLED(${srcdir}/libneon, libneon, ...)'));
elem = elem.appendChild(document.createElement('p'));
elem = elem.parentNode;
elem.appendChild(document.createTextNode('If you use this macro, a \'--with-included-neon\' option will be added to the generated configure script. This allows the user to force the bundled neon to be used in the application, rather than any neon library found on the system. If you allow neon to be configured this way, you must also configure an XML parser. Use the NEON_XML_PARSER macro to do this.'));
elem = elem.parentNode;
elem = elem.appendChild(document.createElement('li'));
elem.setAttribute('class', 'listitem');
elem = elem.appendChild(document.createElement('p'));
elem = elem.parentNode;
elem.appendChild(document.createTextNode('The final argument to the _BUNDLED macros is a set of actions which are executed if the bundled build *is* chosen (rather than an external neon which might have been found on the user\'s system). In here, use either the NEON_LIBTOOL_BUILD or NEON_NORMAL_BUILD macro to set up the neon Makefile appropriately: including adding the neon source directory to the recursive make.'));
elem = elem.parentNode;
elem = elem.parentNode;
elem = elem.parentNode;
elem = elem.appendChild(document.createElement('p'));
elem = elem.parentNode;
elem.appendChild(document.createTextNode('A full fragment might be:'));
elem = elem.appendChild(document.createElement('pre'));
elem.setAttribute('class', 'programlisting');
elem = elem.parentNode;
elem.appendChild(document.createTextNode('NEON_BUNDLED(libneon, [ NEON_NORMAL_BUILD NEON_XML_PARSER SUBDIRS=\"libneon $SUBDIRS\" ])'));
elem = elem.appendChild(document.createElement('p'));
elem = elem.parentNode;
elem.appendChild(document.createTextNode('This means the bundled neon source directory (called \'libneon\') is used if no neon is found on the system, and the standard XML parser search is used.'));
elem = elem.parentNode;
elem = elem.appendChild(document.createElement('div'));
elem.setAttribute('class', 'navfooter');
elem = elem.appendChild(document.createElement('hr'));
elem = elem.appendChild(document.createElement('table'));
elem.setAttribute('width', '100%');
elem.setAttribute('summary', 'Navigation footer');
elem = elem.appendChild(document.createElement('tr'));
elem = elem.appendChild(document.createElement('td'));
elem.setAttribute('width', '40%');
elem.setAttribute('align', 'left');
elem = elem.appendChild(document.createElement('a'));
elem.setAttribute('accesskey', 'p');
elem.setAttribute('href', 'features.html');
elem = elem.parentNode;
elem.appendChild(document.createTextNode('Prev'));
elem = elem.parentNode;
elem.appendChild(document.createTextNode(' '));
elem = elem.appendChild(document.createElement('td'));
elem.setAttribute('width', '20%');
elem.setAttribute('align', 'center');
elem = elem.appendChild(document.createElement('a'));
elem.setAttribute('accesskey', 'u');
elem.setAttribute('href', 'intro.html');
elem = elem.parentNode;
elem.appendChild(document.createTextNode('Up'));
elem = elem.parentNode;
elem = elem.appendChild(document.createElement('td'));
elem.setAttribute('width', '40%');
elem.setAttribute('align', 'right');
elem.appendChild(document.createTextNode(' '));
elem = elem.appendChild(document.createElement('a'));
elem.setAttribute('accesskey', 'n');
elem.setAttribute('href', 'compliance.html');
elem = elem.parentNode;
elem.appendChild(document.createTextNode('Next'));
elem = elem.parentNode;
elem = elem.parentNode;
elem = elem.appendChild(document.createElement('tr'));
elem = elem.appendChild(document.createElement('td'));
elem.setAttribute('width', '40%');
elem.setAttribute('align', 'left');
elem.setAttribute('valign', 'top');
elem = elem.parentNode;
elem.appendChild(document.createTextNode('Feature list '));
elem = elem.appendChild(document.createElement('td'));
elem.setAttribute('width', '20%');
elem.setAttribute('align', 'center');
elem = elem.appendChild(document.createElement('a'));
elem.setAttribute('accesskey', 'h');
elem.setAttribute('href', 'index.html');
elem = elem.parentNode;
elem.appendChild(document.createTextNode('Home'));
elem = elem.parentNode;
elem = elem.appendChild(document.createElement('td'));
elem.setAttribute('width', '40%');
elem.setAttribute('align', 'right');
elem.setAttribute('valign', 'top');
elem = elem.parentNode;
elem.appendChild(document.createTextNode(' Standards compliance'));
elem = elem.parentNode;
elem = elem.parentNode;
elem = elem.parentNode;
elem = elem.parentNode;
elem = elem.parentNode;
</script>